$OpenBSD: patch-common_gypi,v 1.5 2014/07/10 19:53:30 landry Exp $
--- common.gypi.orig	Fri May  2 02:47:47 2014
+++ common.gypi	Thu Jul 10 16:15:20 2014
@@ -170,9 +170,12 @@
         ],
       }],
       [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
-        'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', '-pthread', ],
+        'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', '-pthread', '-I${LOCALBASE}/include'],
         'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
         'ldflags': [ '-pthread', '-rdynamic' ],
+	'libraries': [
+	  '-L${LOCALBASE}/lib'
+	],
         'target_conditions': [
           ['_type=="static_library"', {
             'standalone_static_library': 1, # disable thin archive which needs binutils >= 2.19
